﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.DynamicProxy.Generators.Emitters;
using OrchardFork.Framework.Mvc.Routes;

namespace OrchardFork.Framework.Environment
{
    public class DefaultCnvpHost : ICnvpHost
    {
        private readonly ICnvpShell _cnvpShell;

        public DefaultCnvpHost(ICnvpShell cnvpShell)
        {
            _cnvpShell = cnvpShell;
        }

        public void Initialize()
        {
            _cnvpShell.Activate();
        }

        public void ReloadExtensions()
        {
            //throw new NotImplementedException();
        }

        public void BeginRequest()
        {
            //throw new NotImplementedException();
        }

        public void EndRequest()
        {
            //throw new NotImplementedException();
        }

        //public ShellContext GetShellContext(ShellSettings shellSettings)
        //{
        //    throw new NotImplementedException();
        //}

        //public IWorkContextScope CreateStandaloneEnvironment(ShellSettings shellSettings)
        //{
        //    throw new NotImplementedException();
        //}
    }
}
